home *** CD-ROM | disk | FTP | other *** search
- #
- # (C) Tenable Network Security
- #
- #
- # The text of this plugin is (C) Red Hat Inc.
-
- if ( ! defined_func("bn_random") ) exit(0);
- if(description)
- {
- script_id(12470);
- script_version ("$Revision: 1.4 $");
- script_cve_id("CAN-2004-0154");
-
- name["english"] = "RHSA-2004-072: nfs";
-
- script_name(english:name["english"]);
-
- desc["english"] = '
-
- Updated nfs-utils packages that fix a flaw leading to possible rpc.mountd
- crashes are now available.
-
- The nfs-utils package contains the rpc.mountd program, which implements the
- NFS mount protocol.
-
- A flaw was discovered in versions of rpc.mountd in nfs-utils versions after
- 1.0.3 and prior to 1.0.6. When mounting a directory, rpc.mountd could
- crash if the reverse lookup of the client in DNS failed to match the
- forward lookup. An attacker who has the ability to mount remote
- directories from a server could make use of this flaw to cause a denial of
- service by making rpc.mountd crash.
-
- Users are advised to upgrade to these updated packages, which contain
- nfs-utils 1.0.6 and is not vulnerable to this issue.
-
- NOTE: Red Hat Enterprise Linux 2.1 includes a version of rpc.mountd that is
- not vulnerable to this issue.
-
-
-
-
- Solution : http://rhn.redhat.com/errata/RHSA-2004-072.html
- Risk factor : High';
-
- script_description(english:desc["english"]);
-
- summary["english"] = "Check for the version of the nfs packages";
- script_summary(english:summary["english"]);
-
- script_category(ACT_GATHER_INFO);
-
- script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
- family["english"] = "Red Hat Local Security Checks";
- script_family(english:family["english"]);
-
- script_dependencies("ssh_get_info.nasl");
-
- script_require_keys("Host/RedHat/rpm-list");
- exit(0);
- }
-
- include("rpm.inc");
- if ( rpm_check( reference:"nfs-utils-1.0.6-7.EL", release:"RHEL3") )
- {
- security_hole(0);
- exit(0);
- }
-
- if ( rpm_exists(rpm:"nfs-", release:"RHEL3") )
- {
- set_kb_item(name:"CAN-2004-0154", value:TRUE);
- }
-
- set_kb_item(name:"RHSA-2004-072", value:TRUE);
-